package com.kiteqi.wxorder.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kiteqi.wxorder.entity.ProductInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProductMapper extends BaseMapper<ProductInfo> {

    @Select("select * from product_info where product_status = #{productStatus}")
    List<ProductInfo> findByProductStatus(Integer productStatus);
}
